using System;
using System.Collections.Generic;
using System.Text;

namespace Lutos
{
    public static class Core
    {
        public static Item.ItemAdapter ItemAdapter;
        public static Item.Item GetItem(int id)
        {
            return ItemAdapter[id];
        }
        public static Lutos.Data.CategoryTree CategoryTree;
        public static Lutos.Data.CategoryTree.CategoryNode GetCategoryNode(int cid)
        {
            return CategoryTree[cid];
        }
        public static Lutos.Data.RegionTree RegionTree;
        public static Lutos.Data.RegionTree.RegionNode GetRegionNode(int rid)
        {
            return RegionTree[rid];
        }
        public static Lutos.User.UserAdapter UserAdapter;
        public static Lutos.User.User GetUser(int uid)
        {
            return UserAdapter[uid];
        }
    }
}
